package com.balabala.gym_system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Author:zl
 * Date:2023/5/1 9:19
 */
@Data
@TableName("tb_admin")
public class Admin implements Serializable {
    public String sex;
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String phone;

    private String email;

    private String name;

    private String imageUrl;

    private String password;

    private String salt;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    private Integer status;
}
